﻿#region Copyright

//  ======================================================
//      Copyright (c) 2011 Toulr All rights reserved.
//     
//      The use and distribution terms for this software are contained in the file
//      named license.txt, which can be found in the root of this distribution.
//      By using this software in any fashion, you are agreeing to be bound by the
//      terms of this license.
//     
//     You must not remove this notice, or any other, from this software.
//  ======================================================

#endregion

#region Using Namespaces

using System;
using System.ComponentModel.DataAnnotations;

#endregion

namespace Toulr.Domains.System
{
    public class Photos
    {
        #region Property

        /// <summary>
        ///   照片标识
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        ///   照片名称
        /// </summary>
        [MaxLength(30)]
        public string Name { get; set; }

        /// <summary>
        ///   所属相册Id
        /// </summary>
        public int AlbumId { get; set; }

        /// <summary>
        ///   照片描述
        /// </summary>
        [MaxLength(80)]
        public string Description { get; set; }

        [MaxLength(1000)]
        public string PicPath { get; set; }

        #endregion

    }
}